package com.yfproject.business;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import com.yfproject.models.Student;



@Repository
public interface StudentRepository extends JpaRepository<Student, Long> {

    Student findByStudentName(String name);
    
    Student findBySid(Integer sid);

}